<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="m@markzou.com">
    <link rel="shortcut icon" href="favicon.png">
    <title>${(jshopbasicinfo.jshopname)} - 商城首页</title>

    <!-- fav icons -->
    <link rel="shortcut icon" href="${basepath}/ui/assets/img/favicon.png" />

    <link rel="stylesheet" type="text/css" href="${basepath}/ui/assets/css/inc_default_theme.css">
    <link rel="stylesheet" type="text/css" href="${basepath}/ui/assets/css/bootstrap.css">

    <script src="${basepath}/ui/assets/js/bootstrap.min.js"></script>
    <script src="${basepath}/ui/assets/js/jquery-1.7.2.min.js"></script>

    <!-- Just for debugging purposes. Don't actually copy this line! -->
    <!--[if lt IE 9]><script src="${basepath}/ui/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

    <!-- HTML5 shim and Respipond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="${basepath}/ui/assets/js/html5shiv.js"></script>
      <script src="${basepath}/ui/assets/js/respond.min.js"></script>
    <![endif]-->


</head>

<body>

<div class="container-fluid nopadding">

    <div class="page_content_innerpage">

        <div class="pc_head">
            <!-- 头部开始 -->
            <#include "/WEB-INF/theme/default/shop/header.ftl">
            <!--导航条-->
            <#include "/WEB-INF/theme/default/shop/mainnavigation.ftl">
        </div>
       
        <div class="pc_local">
           
            <div class="pc_w1200">
                <ul class="gps">
                    <li><span class="glyphicon glyphicon-map-marker"></span></li>
                    <li><a href="${basepath}/index.action">网站首页</a></li>
                    <li><a href="<@actionlink?interpret/>" class="current">搜索结果</a></li>
                </ul>
            </div>
           
        </div>

        <div class="pc_body">
            <div class="pc_w1200">

             

                <div class="pc_mod3">
                    <div class="ap_list_tit">
                        <span class="red">所有结果</span>
                       
                        <span class="num">共${totalgoods}件商品</span>
                    </div>
                </div>
                <!--商品排序-->
                <#include "/WEB-INF/theme/default/shop/goodssortpage.ftl">
                
                <#if (goods.getList()??)&&(goods.getList()?size>0)>
                <div class="pc_mod1">
                    <ul class="ap_products_list">
                        <#list goods.getList() as f>
                        <li>
                            <#if f.isNew=="1">
                                <div class="new"><img src="${basepath}/ui/assets/img/icons/new.png" alt=""/></div>
                            <#elseif f.hotsale=="1">
                                <div class="hot"><img src="${basepath}/ui/assets/img/icons/hot.png" alt=""/></div>
                            <#elseif f.recommended=="1">
                                <div class="hot"><img src="${basepath}/ui/assets/img/icons/hot.png" alt=""/></div>
                            <#else>
                                <div class="hot"><img src="${basepath}/ui/assets/img/icons/hot.png" alt=""/></div>
                            </#if>
                           
                            <div class="p_img">
                                <#list f.pictureurl?split(",") as atl>
                                    <#if atl_index=0>
                                    <a href="${basepath}/goods/getGoodsDetail.action?goodsid=${f.goodsid}"><img width="194px" height="194px" src="${basepath}/${atl}" alt="${f.goodsname}"></a>
                                    </#if>
                                </#list>
                            </div>
                            
                            <div class="p_tit">
                                <a href="${basepath}/goods/getGoodsDetail.action?goodsid=${f.goodsid}">
                                    <#assign str=(f.goodsname)>
                                    <#if str?length gt 16>
                                        <span>${str?substring(0,16)}...</span>
                                    <#else>
                                        <span>${f.goodsname}</span>
                                    </#if>
                                    
                                </a>
                            </div>
                            <div class="p_price">
                                ￥<span>${f.memberprice}</span>
                            </div>
                            <div class="p_cart">
                                <#assign x=(f.quantity)>
                                <#if (x>1)>
                                    <div class="in_cart"><a href="javascript:addgoodstocart('${basepath}','${f.goodsid}',1);"><span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span> 加入购物车</a></div>
                                <#else>
                                    <div class="no_cart"><span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span> 无货</div>
                                </#if>
                                <div class="comment"><a href=""><span class="glyphicon glyphicon-comment" aria-hidden="true"></span>${f.totalcomment}</a></div>
                            </div>
                        </li>
                        </#list>
                        
                    </ul>
                </div>
                </#if>
                <!--分页-->
                <#include "/WEB-INF/theme/default/shop/goodssplitpage.ftl">
                



            </div>

        </div>
    
        
    <#include "/WEB-INF/theme/default/shop/footer.ftl">

    </div>

</div>

<script src="${basepath}/ui/assets/js/screen_script.js"></script>
<script type="text/javascript" src="${basepath}/ui/js/jquery.query.js"></script>
<script src="${basepath}/ui/js/mycart.js"></script>
<script src="${basepath}/ui/js/goodscategory.js"></script>

</body>
</html>
